<!--
 * @Autor: GXL
 * @Date: 2022-06-11 22:32:43
 * @E-mail: 1515533507@qq.com
 * @LastEditTime: 2022-07-05 14:10:14
 * @FilePath: \web\vue3\Vue3-TS-CMS\src\App.vue
 * @Description: I see that all living beings have no intention, but I moved my heart to you
-->
<template>
  <div class="app">
    <el-config-provider :locale="zhCn">
      <router-view />
    </el-config-provider>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'

export default defineComponent({
  name: 'App',
  components: {
    ElConfigProvider
  },
  props: {
    name: {
      type: String
    }
  },
  setup() {
    return {
      zhCn
    }
  }
})
</script>

<style lang="less">
.app {
  height: 100%;
}
</style>
